﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [SugarTable("alarm")]
    public class AlarmModel
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public int AreaId { get; set; }
        [SugarColumn(Length = 100)]
        public string AreaName { get; set; }
        public DateTime DateTime { get; set; }
        [SugarColumn(Length = 10, ColumnDescription = "是否处理")]
        public string DealWith { get; set; }
        [SugarColumn(Length = 1000, ColumnDescription = "路径")]
        public string VideoName { get; set; }
        public string CameraIp { get; set; }
        public string Level { get; set; }
    }
}
